package com.xq.shop.util;

import com.xq.shop.service.user.ICartGoodService;
import com.xq.shop.service.user.IOrderService;
import com.xq.shop.service.user.IPointService;
import com.xq.shop.service.user.IProductScoreService;
import com.xq.shop.service.user.IProductService;
import com.xq.shop.service.user.IReceiverService;
import com.xq.shop.service.user.IUserService;


public class UserServiceFactory {
	
	public static IUserService getUserService(){
		return (IUserService) BeanFactory.getBean("user_user_service");
	}
	
	public static IReceiverService getReceiverService(){
		return (IReceiverService) BeanFactory.getBean("user_receiver_service");
	}
	
	public static IOrderService getOrderService(){
		return (IOrderService) BeanFactory.getBean("user_order_service");
	}
	
	public static IProductService getProductService(){
		return (IProductService) BeanFactory.getBean("user_prodcut_service");
	}
	
	public static ICartGoodService getCartGoodService(){
		return (ICartGoodService) BeanFactory.getBean("user_cartGood_service");
	}
	
	public static IPointService getPointService(){
		return (IPointService) BeanFactory.getBean("user_point_service");
	}
	
	public static IProductScoreService getScoreService(){
		return (IProductScoreService) BeanFactory.getBean("user_productScore_service");
	}
}